Skip to content

graph: Remove debug prefix from Timestamp value parse errors#6494

Closed
cuiweixie wants to merge 1 commit into
graphprotocol:masterfrom
cuiweixie:graph/fix-timestamp-parse-error-message
Closed

graph: Remove debug prefix from Timestamp value parse errors#6494
cuiweixie wants to merge 1 commit into
graphprotocol:masterfrom
cuiweixie:graph/fix-timestamp-parse-error-message

Conversation

@cuiweixie
Copy link
Copy Markdown

Summary

Removes an accidental "xxx" debug prefix from the TIMESTAMP_SCALAR branch of Value::from_graphql_value, so QueryExecutionError::ValueParseError reports the invalid timestamp string directly (consistent with other scalars).

Testing

Please run just lint, just check --release, and relevant unit tests locally before merge.

The TIMESTAMP_SCALAR branch accidentally formatted parse failures as "xxx{value}". Report the invalid input string directly, consistent with other ValueParseError paths.
@lutter
Copy link
Copy Markdown
Collaborator

lutter commented May 4, 2026

The PR fails CI. Pushed commit 757ff94 which addresses the same thing correctly

@lutter lutter closed this May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants